package com.tsy.graduate;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
//主类上加扫描 mapper 路径，启动项目测试
@SpringBootApplication
@MapperScan("com.tsy.**.mapper")
@EnableSwagger2
public class GraduateApplication {

    public static void main(String[] args) {
        SpringApplication.run(GraduateApplication.class, args);
    }
}